package indi.storyoftime.rasite.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import indi.storyoftime.rasite.entity.Image;

public interface ImageMapper extends BaseMapper<Image> {

    Image selectImage(Integer id);

    /**
     * 清空album_id
     */
    Integer updateAlbumIdToNull(Integer album_id);
}